home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
090
/
jazclib1.arc
/
JZDOSVER.C
< prev
next >
Wrap
Text File
|
1986-04-22
|
537b
|
22 lines
/*
┌────────────────────────────────────────────────────────────────────────────┐
│jzdosver.c │
│Return the dos version number. │
│The major version will be in the low byte, │
│the minor version will be int the high byte. │
│ │
│ (C) JazSoft Software by Jack A. Zucker (301) 794-5950 │
└────────────────────────────────────────────────────────────────────────────┘
*/
jzdosver()
{
TREG wreg;
wreg.h.ah = 0x30;
msdos(&wreg);
return(wreg.x.ax);
}